package com.example.javasample.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.javasample.domain.UserDO;
import com.example.javasample.mapper.UserMapper;
import com.example.javasample.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * UserServiceImpl
 *
 * @author Kylin
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserDO> implements IUserService {

    @Override
    public UserDO detail(Long userId) {
        return baseMapper.detailResult(userId);
    }

}
